package com.overlord.im.web.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * All rights Reserved, Designed By www.szy.cn
 *
 * @author wuwei
 * @title WebServerProperty
 * @package com.overlord.im.web.config
 * @date 2021-03-19 15:38
 * @Copyright 2014-现在 All rights reserved. 厦门神州鹰软件科技有限公司
 */
@Configuration
@Component
@Getter
@Setter
public class WebServerProperty implements Serializable {
    @Value("${jwt.ttl:3600000}")
    public Long jwtTtl;

}
